package org.sdp.pearproject.dao.mapper;

import org.sdp.pearproject.dao.domain.*;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * InterfaceName: InviteLinkMapper
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-14
 * @Version: 1.0
 * Table: pear_invite_link
 * Comment:
 * 邀请链接表
 */
public interface InviteLinkMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteById(Integer id);

    int deleteByCode(String code);

    int deleteByExample(InviteLinkExample example);

    int insert(InviteLinkWithBLOBs record);

    int insertSelective(InviteLinkWithBLOBs record);

    List<InviteLinkWithBLOBs> selectByExampleWithBLOBs(InviteLinkExample example);

    List<InviteLink> selectByExample(InviteLinkExample example);

    int countByExample(InviteLinkExample example);

    InviteLink selectByPrimaryKey(Integer id);

    InviteLinkWithBLOBs selectByPrimaryKeyWithBLOBs(Integer id);

    InviteLink selectById(Integer id);

    InviteLinkWithBLOBs selectByIdWithBLOBs(Integer id);

    InviteLink selectByCode(String code);

    InviteLinkWithBLOBs selectByCodeWithBLOBs(String code);

    int updateByExampleSelective(@Param("record") InviteLinkWithBLOBs record, @Param("example") InviteLinkExample example);

    int updateByPrimaryKeySelective(InviteLinkWithBLOBs record);

    int updateByIdSelective(InviteLinkWithBLOBs record);

    int updateByCodeSelective(InviteLinkWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(InviteLinkWithBLOBs record);

    int updateByPrimaryKey(InviteLink record);

    int updateById(InviteLink record);

    int updateByIdWithBLOBs(InviteLinkWithBLOBs record);

}
